package com.zzx.boot.servlet;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzx.boot.entity.table.Follow;
import com.zzx.boot.entity.vo.UserVo;

import java.util.List;

/**
 * @author tan
 * @version 1.0
 * @date 2023/7/11 13:35
 */
public interface FollowService extends IService<Follow> {
    /**
     * 关注用户
     * @param followId
     * @return
     */
    String addFollow(Long followId);

    /**
     * 取消关注
     * @param followId
     * @return
     */
    String removeFollow(Long followId);

    /**
     * 互相关注列表
     * @param followId
     * @return
     */
    List<UserVo> mutualFollow(Long current);

    /**
     * 粉丝列表
     * @param current
     * @return
     */
    List<UserVo> fansFollow(Long current);

    /**
     * 关注列表
     * @param current
     * @return
     */
    List<UserVo> followList(Long current);
}
